<%if pagetype=[POS]%>
<%= include("poshead.html")%>
<%endif%>
<%if pagetype=[A4]%>
<%= include("A4head.html")%>
<%endif%>
<%if pagetype=[A5]%>
<%= include("p5head.html")%>
<%endif%>
<%if pagetype=[LE]%>
<%= include("A4head.html")%>
<%endif%>
<%if not empty(xcompany.fbrposid)%>
<%endif%>
Receipt Voucher
| Received | <> <int(searchresults.amount),round(searchresults.amount,2),round(searchresults.amount,0))>> (<>) |
<%if not empty(searchresults.discount)%>
| Discount | <> <int(searchresults.discount),round(searchresults.discount,2),round(searchresults.discount,0))>> |
<%endif%>
| From | AC: <> Name <> |
<%if not empty(searchresults.name)%>
| Payer | <> |
<%endif%>
<%if not empty(searchresults.checkno)%>
| Cheaque# | <> | Date | <> |
<%endif%>
<%if not empty(searchresults.desc) and not allt(searchresults.desc)==allt(searchresults.name) and not allt(searchresults.desc)==[FROM ]+allt(searchresults.name)%>
| details | <> |
<%endif%>
<%if not empty(openingbalance)%>
| Opening | <> |
<%if not empty(nvl(closing.debits,0))%>
| Add Debits | <> |
<%endif%>
<%if not empty(nvl(closing.Credits,0))%>
| Less Credits | <> |
<%endif%>
| Closing Balance | <> |
 |
<%endif%>